home *** CD-ROM | disk | FTP | other *** search
/ C/C++ Users Group Library 1996 July / C-C++ Users Group Library July 1996.iso / listings / v_11_06 / 1106014a < prev    next >
Text File  |  1993-04-10  |  224b  |  14 lines

  1. #include <wchar.h>
  2.  
  3. static wchar_t hirigana = wctype("hirigana");
  4.  
  5. int ishiri(wchar_t *wcs)
  6.     {    /* test each element of string */
  7.     while (*wcs)
  8.         if (!iswctype(*wcs++, hirigana))
  9.             return (0);
  10.     return (1);
  11.     }
  12.  
  13.  
  14.